import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementUI from 'element-ui'
import ('element-ui/lib/theme-chalk/index.css')
Vue.use(ElementUI)

import RightToolbar from './components/RightToolbar'
import Pagination from "@/components/Pagination";

// 全局注册组件
Vue.component('RightToolbar', RightToolbar)
Vue.component('Pagination', Pagination)

import axios from "axios";
Vue.prototype.$axios=axios

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: function (h) { return h(App) }
}).$mount('#app')
